<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MFixedPoint: Assignment Operator Overloads</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MFixedPoint
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__Compound.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Assignment Operator Overloads</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga20e0ed265db2635cdef2077da5a0e952"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Compound.html#ga20e0ed265db2635cdef2077da5a0e952">mn::MFixedPoint::Fp64f&lt; p &gt;::operator+=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> r)</td></tr>
<tr class="memdesc:ga20e0ed265db2635cdef2077da5a0e952"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for "+=".  <a href="#ga20e0ed265db2635cdef2077da5a0e952">More...</a><br /></td></tr>
<tr class="separator:ga20e0ed265db2635cdef2077da5a0e952"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga08a01bf8fedc5095f3cc8df8ea241cd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Compound.html#ga08a01bf8fedc5095f3cc8df8ea241cd9">mn::MFixedPoint::Fp64f&lt; p &gt;::operator-=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> r)</td></tr>
<tr class="memdesc:ga08a01bf8fedc5095f3cc8df8ea241cd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for "-=".  <a href="#ga08a01bf8fedc5095f3cc8df8ea241cd9">More...</a><br /></td></tr>
<tr class="separator:ga08a01bf8fedc5095f3cc8df8ea241cd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0fedf5d7d75b7acf61768aecf96a396c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Compound.html#ga0fedf5d7d75b7acf61768aecf96a396c">mn::MFixedPoint::Fp64f&lt; p &gt;::operator*=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> r)</td></tr>
<tr class="memdesc:ga0fedf5d7d75b7acf61768aecf96a396c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for "*=".  <a href="#ga0fedf5d7d75b7acf61768aecf96a396c">More...</a><br /></td></tr>
<tr class="separator:ga0fedf5d7d75b7acf61768aecf96a396c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2535eccb77db2a377889438f984835d3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Compound.html#ga2535eccb77db2a377889438f984835d3">mn::MFixedPoint::Fp64f&lt; p &gt;::operator/=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> r)</td></tr>
<tr class="memdesc:ga2535eccb77db2a377889438f984835d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for "/=".  <a href="#ga2535eccb77db2a377889438f984835d3">More...</a><br /></td></tr>
<tr class="separator:ga2535eccb77db2a377889438f984835d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga906c626f94756332aa6ec3b0971be9d4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Compound.html#ga906c626f94756332aa6ec3b0971be9d4">mn::MFixedPoint::Fp64f&lt; p &gt;::operator%=</a> (<a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a> r)</td></tr>
<tr class="memdesc:ga906c626f94756332aa6ec3b0971be9d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for "%=".  <a href="#ga906c626f94756332aa6ec3b0971be9d4">More...</a><br /></td></tr>
<tr class="separator:ga906c626f94756332aa6ec3b0971be9d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga906c626f94756332aa6ec3b0971be9d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga906c626f94756332aa6ec3b0971be9d4">&#9670;&nbsp;</a></span>operator%=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&amp; <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::operator%= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&lt; p &gt;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override for "%=". </p>

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00151">151</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html#a7fcfb60b731e3efa1e05c40ae9c848e6">mn::MFixedPoint::Fp64f&lt; p &gt;::rawVal</a>.</p>

</div>
</div>
<a id="ga0fedf5d7d75b7acf61768aecf96a396c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0fedf5d7d75b7acf61768aecf96a396c">&#9670;&nbsp;</a></span>operator*=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&amp; <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::operator*= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&lt; p &gt;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override for "*=". </p>
<p>Used the <a class="el" href="namespacemn_1_1MFixedPoint.html#a49674142efd47e1cea03efeea69e8a61" title="Perform a fixed point multiplication using a 64-bit intermediate result to prevent intermediary overf...">FixMul()</a> method. </p>

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00136">136</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html#a7fcfb60b731e3efa1e05c40ae9c848e6">mn::MFixedPoint::Fp64f&lt; p &gt;::rawVal</a>.</p>

</div>
</div>
<a id="ga20e0ed265db2635cdef2077da5a0e952"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga20e0ed265db2635cdef2077da5a0e952">&#9670;&nbsp;</a></span>operator+=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&amp; <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::operator+= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&lt; p &gt;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override for "+=". </p>
<p>Fixed-point addition and subtractional are done as usual. </p>

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00120">120</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html#a7fcfb60b731e3efa1e05c40ae9c848e6">mn::MFixedPoint::Fp64f&lt; p &gt;::rawVal</a>.</p>

</div>
</div>
<a id="ga08a01bf8fedc5095f3cc8df8ea241cd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga08a01bf8fedc5095f3cc8df8ea241cd9">&#9670;&nbsp;</a></span>operator-=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&amp; <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::operator-= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&lt; p &gt;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override for "-=". </p>
<p>Fixed-point addition and subtractional are done as usual. </p>

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00128">128</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html#a7fcfb60b731e3efa1e05c40ae9c848e6">mn::MFixedPoint::Fp64f&lt; p &gt;::rawVal</a>.</p>

</div>
</div>
<a id="ga2535eccb77db2a377889438f984835d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2535eccb77db2a377889438f984835d3">&#9670;&nbsp;</a></span>operator/=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;uint8_t p&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&amp; <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">mn::MFixedPoint::Fp64f</a>&lt; p &gt;::operator/= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html">Fp64f</a>&lt; p &gt;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Override for "/=". </p>
<p>Used the <a class="el" href="namespacemn_1_1MFixedPoint.html#af205e513ccbc971f90a7eb5af09fb810" title="Perform a fixed point division without a 128-bit intermediate result. ">FixDiv()</a> method. </p>

<p class="definition">Definition at line <a class="el" href="Fp64f_8hpp_source.html#l00144">144</a> of file <a class="el" href="Fp64f_8hpp_source.html">Fp64f.hpp</a>.</p>

<p class="reference">References <a class="el" href="classmn_1_1MFixedPoint_1_1Fp64f.html#a7fcfb60b731e3efa1e05c40ae9c848e6">mn::MFixedPoint::Fp64f&lt; p &gt;::rawVal</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Generated on Wed Dec 13 2017 13:34:44 for MFixedPoint by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
